****Rep Approval Master Script****

***Open "Rep Approval Data 2008-2014"***


****analysis****

**Code for Table 1**
xtmixed rep_approval educ female nonwhite age income c.op_congruence##c.republican c.sym_congruence##c.republican i.year ||distid:, var
 
**Code for Figure 1(A)*** 
margins, dydx(op_congruence) at(republican=(0(1)6)) atmeans
marginsplot, scheme(plotplain)
	
**Code for Firuge 1(B)**
margins, dydx(sym_congruence) at(republican=(0(1)6)) atmeans
marginsplot, scheme(plotplain)
	
**Code for Substantive Effects on Page 17**
margins, at(op_congruence=(0(.1)1) republican=(0 6)) atmeans

**Code for Substantive Effects on Page 18**
margins, at(sym_congruence=(0(.1)1) republican=(0 6)) atmeans
